In This Topic
Copies the entire
ListBase<T> to a compatible one-dimensional array, starting at the beginning of the target array.
Syntax
'Declaration
Public Overloads Sub CopyTo( _
ByVal () As , _
ByVal As Integer _
)
'Usage
Dim instance As ListBase(Of T)
Dim array() As
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
[] ,
int
)
Parameters
- array
- The one-dimensional System.Array that is the destination of the elements copied from ListBase<T>. The System.Array must have zero-based indexing.
- arrayIndex
- The zero-based index in array at which copying begins.
See Also